/**
* 作者: lichuan
* 日期: 2025-07-28 12:04:41
* 备注: 联盟总动员公共任务信息表
*/
package com.motu.monstercity.server.game.userdata;

import com.motu.monstercity.server.game.commondata.union.UnionActionTaskConstant;

public class UnionMobileTaskInfo extends UnionMobileTaskInfoModel {
	public UnionMobileTaskInfo() {
		super();
	}

	public UnionMobileTaskInfo(long unionId,int taskId) {
		super();
		putUnionId(unionId);
		putTaskId(taskId);
	}

	public  boolean isComplete(){
		return getIsComplete() == UnionActionTaskConstant.TASK_COMPLETE;
	}

	// 已领奖
	public  boolean isGetReward(){
		return getIsComplete() == UnionActionTaskConstant.TASK_GET_REWARD;
	}
	// 是否能任务能做
	public boolean canDo(){
		return !(isComplete() || isGetReward());
	}
}
